<?php

/**
 * Dayrui Website Management System
 * 
 * @since			version 2.0.0
 * @author			Dayrui <dayrui@gmail.com>
 * @license     	http://www.dayrui.com/license
 * @copyright		Copyright (c) 2011 - 9999, Dayrui.Com, Inc.
 */

if (!defined('BASEPATH')) exit('No direct script access allowed');


/**
 * 这里由开发者自定义伪静态规则,放在下面括号里面
 */
 

return array(





    /*-------------------空间黄页URL规则 开始-----------------*/

    // 黄页首页
    "hy.html"                                                   =>	"space/home/index",
    // 频道搜索分页
    "hy-search-(.+).html"                                       =>	"space/search/index/rewrite/$1",
    // 频道搜索
    "hy-search.html"                                            =>	"space/search/index",
    // 个人空间首页
    "u-(\d+).html"                                              =>	"space/home/index/uid/$1",
    // 个人空间栏目列表(分页)
    "u-(\d+)-list-(\d+)-(\d+).html"                             =>	"space/home/index/uid/$1/action/category/id/$2/page/$3",
    // 个人空间栏目列表
    "u-(\d+)-list-(\d+).html"                                   =>	"space/home/index/uid/$1/action/category/id/$2",
    // 个人空间内容(分页)
    "u-(\d+)-show-(\d+)-(\d+)-(\d+).html"                       =>	"space/home/index/uid/$1/action/show/id/$3/mid/$2/page/$4",
    // 个人空间内容
    "u-(\d+)-show-(\d+)-(\d+).html"                             =>	"space/home/index/uid/$1/action/show/id/$3/mid/$2",
    // 微博动态详情
    "u-(\d+)-sns-show-(\d+).html"                               =>	"space/home/index/uid/$1/action/sns/name/show/id/$2",
    // 微博话题列表(分页)
    "u-(\d+)-sns-topic-(\d+)-(\d+).html"                        =>	"space/home/index/uid/$1/action/sns/name/topic/id/$2/page/$3",
    // 微博话题列表
    "u-(\d+)-sns-topic-(\d+).html"                              =>	"space/home/index/uid/$1/action/sns/name/topic/id/$2",
    // 微博动态/粉丝/关注/列表(分页)
    "u-(\d+)-sns-([a-z]+)-(\d+).html"                           =>	"space/home/index/uid/$1/action/sns/name/$2/id/$/page/$3",
    // 微博动态/粉丝/关注/列表
    "u-(\d+)-sns-([a-z]+).html"                                 =>	"space/home/index/uid/$1/action/sns/name/$2/id/$",
    // 个人空间栏目列表(自定义域名时分页)
    "u-list-(\d+)-(\d+).html"                                   =>	"space/home/index/uid/0/action/category/id/$1/page/$2",
    // 个人空间栏目列表(自定义域名时)
    "u-list-(\d+).html"                                         =>	"space/home/index/uid/0/action/category/id/$1",
    // 个人空间内容(自定义域名时分页)
    "u-show-(\d+)-(\d+)-(\d+).html"                             =>	"space/home/index/uid/0/action/show/id/$2/mid/$1/page/$3",
    // 个人空间内容(自定义域名时)
    "u-show-(\d+)-(\d+).html"                                   =>	"space/home/index/uid/0/action/show/id/$2/mid/$1",
    // 微博动态详情(自定义域名时)
    "u-sns-show-(\d+).html"                                     =>	"space/home/index/uid/0/action/sns/name/show/id/$1",
    // 微博话题列表(自定义域名时)(分页)
    "u-sns-topic-(\d+)-(\d+).html"                              =>	"space/home/index/uid/0/action/sns/name/topic/id/$1/page/$2",
    // 微博话题列表(自定义域名时)
    "u-sns-topic-(\d+).html"                                    =>	"space/home/index/uid/0/action/sns/name/topic/id/$1",
    // 微博动态/粉丝/关注/列表(自定义域名时)(分页)
    "u-sns-([a-z]+)-(\d+)-(\d+).html"                           =>	"space/home/index/uid/0/action/sns/name/$1/id/$2/page/$3",
    // 微博动态/粉丝/关注/列表(自定义域名时)
    "u-sns-([a-z]+)-(\d+).html"                                 =>	"space/home/index/uid/0/action/sns/name/$1/id/$2",

    /*-------------------空间黄页URL规则 结束-----------------*/


    /*-------------------站点[1] 站点URL规则 开始-----------------*/

    // 网站地图
    "sitemap.html"                                              =>	"sitemap/index",
    // 全模块搜索分页
    "so-(.+).html"                                              =>	"so/index/rewrite/$1",
    // 全模块搜索
    "so.html"                                                   =>	"so/index",
    // 共享模块搜索分页
    "search\/(.+).html"                                         =>	"search/index/rewrite/$1",
    // 共享模块搜索
    "search.html"                                               =>	"search/index",

    /*-------------------站点[1] 站点URL规则 结束-----------------*/



);

